package com.gadgets.framework.fm03.dto;

import com.gadgets.framework.common.dto.BaseQueryDTO;
import com.gadgets.framework.common.util.StringUtils;

/**
 * @author xiujunqing
 * @version V1.1.0
 * @data 2021-10-14
 * @moduel com.gadgets.framework.fm03.dto
 */
public class BusiNodeQueryDTO extends BaseQueryDTO {

    /**
     * 流程ID
     */
    private Long flowId;
    /**
     * 节点名
     */
    private String nodeName;
    /**
     * 节点类型
     */
    private String nodeType;
    /**
     * 节点归属类型
     */
    private String nodeOwnerType;
    /**
     * 查询类型
     * 0- 流程可用节点查询
     * 1- 节点独立查询
     */
    private String queryType = "1";
    /**
     * 是否自动化节点
     */
    private String ifAuto;

    public String getQueryType() {
        return queryType;
    }

    public void setQueryType(String queryType) {
        if(!StringUtils.isBlank(queryType)){
            this.queryType = queryType;
        }
    }

    public String getIfAuto() {
        return ifAuto;
    }

    public void setIfAuto(String ifAuto) {
        this.ifAuto = ifAuto;
    }

    public Long getFlowId() {
        return flowId;
    }

    public void setFlowId(Long flowId) {
        this.flowId = flowId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getNodeOwnerType() {
        return nodeOwnerType;
    }

    public void setNodeOwnerType(String nodeOwnerType) {
        this.nodeOwnerType = nodeOwnerType;
    }

}
